package com.jingdianjichi.subject.domain.convert;

import com.jingdianjichi.subject.domain.entity.SubjectAnswerBO;
import com.jingdianjichi.subject.domain.entity.SubjectMultipleBO;
import com.jingdianjichi.subject.domain.entity.SubjectRadioBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectMultiple;
import com.jingdianjichi.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectMultipleConverter {
    SubjectMultipleConverter INSTANCE = Mappers.getMapper(SubjectMultipleConverter.class);

    SubjectMultiple convertBOToMultiple(SubjectMultipleBO subjectMultipleBO);

    List<SubjectMultiple> convertBOToMultiple(List<SubjectMultipleBO> subjectMultipleBOList);

    SubjectMultipleBO convertMultipleToBO(SubjectMultiple subjectMultiple);

    List<SubjectMultipleBO> convertMultipleToBO(List<SubjectMultiple> subjectMultipleList);

    SubjectMultiple convertAnswerBOToMultiple(SubjectAnswerBO subjectAnswerBO);

    List<SubjectMultiple> convertAnswerBOToMultiple(List<SubjectAnswerBO> subjectAnswerBOList);
}
